package com.example.personnel_oa.mapper;
//数据访问层
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.Mobility;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author HUAWEI
* @description 针对表【mobility】的数据库操作Mapper
* @createDate 2022-10-19 15:06:37
* @Entity personnel_oa.pojos.Mobility
*/
@Mapper//识别他为mybatis的mapper接口
public interface MobilityMapper extends BaseMapper<Mobility> {
    @Select("SELECT * FROM mobility")//利用注解开发就不需要xml映射文件
    public List<Mobility> Methods_mob();
    int addmob(Mobility mobility);
}




